package com.xupypr.surgery.client;

import java.util.Date;
import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.xupypr.surgery.client.objects.BlogEntry;

@RemoteServiceRelativePath("adminPanelDispatcher")
public interface IAdminPanelDispatcher extends RemoteService {
	public List<BlogEntry> getEntries(Date borderDate, Long quantity);

	public void createEntry(BlogEntry entry);
	
	public void deleteEntry(Long id);
	
	public BlogEntry getEntry(Long id);
}
